// users/mydemands/mydemands.js
/*
const app = getApp()
Page({
  data: {
    docData:[]
  },
  onLoad(options) {
    this.getData()
  },
  async getData() {
    const that = this;
    //缺少路径
    await app.get("").then(res => {
      that.setData({
        docData: res.data
      })
    }).catch(err => {
      wx.showToast({
        title: '数据请求失败',
        icon: 'error'
      })
    })
  }
})*/